


from PyQt5.Qt import *
import cgitb
from UI.dialog_choose_freq import Ui_Dialog_Choose_freq
cgitb.enable(format='text')

class TrainDialog(Ui_Dialog_Choose_freq, QDialog):

    def __init__(self, parent=None):
        super(TrainDialog, self).__init__(parent)
        self.setupUi(self)
        print(self.parent().setting_dict.keys())
        self.comboBox_freq.addItems(self.parent().setting_dict["阈值设置"].keys())